package com.cspm.ahjy.bc.office.word.domain;

/**
 * 底纹，对应XML中的<w:shd>标签
 * @author ServerZhang
 * @date 2017年10月10日
 */
public class MSShadow {

	private String type = "clear";//底纹样式
	private String typeDescription = "清除";//底纹样式说明
	private String color = "auto";//底纹颜色
	private String fill = "";//底纹填充色
	
	public MSShadow(){
		
	}
	
	public Boolean equals(MSShadow shadow){
		if (shadow == null) {
			return Boolean.FALSE;
		}
		if (this.type.equals(shadow.type)
				&&this.color.equals(shadow.color)
				&& this.fill.equals(shadow.fill)) {
			return Boolean.TRUE;
		}
		return Boolean.FALSE;
	}

	
	public String getTypeDescription() {
		return typeDescription;
	}

	public void setTypeDescription(String typeDescription) {
		this.typeDescription = typeDescription;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getFill() {
		return fill;
	}

	public void setFill(String fill) {
		this.fill = fill;
	}
	
	
	
}
